﻿using System;
using Zzt.ExpertsCore.Domain.Models.Enums;

namespace Zzt.ExpertsCore.Domain.Entities
{
    /// <summary>
    /// 招标抽取的专家
    /// </summary>
    public class ExtractedExpert : BaseEntity
    {
        /// <summary>
        /// 专家
        /// </summary>
        public int ExpertId { get; set; }
        public virtual Expert Expert { get; set; }
        /// <summary>
        /// 所属的抽取公式
        /// </summary>
        public int PrincipleId { get; set; }
        public virtual Principle Principle { get; set; }
        /// <summary>
        /// 抽取时间
        /// </summary>
        public DateTimeOffset ExtractedTime { get; set; }
        /// <summary>
        /// 抽取的轮次
        /// </summary>
        public int Round { get; set; }
        /// <summary>
        /// 专家抽取状态
        /// </summary>
        public MessageStatus Status { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Comment { get; set; }
    }
}
